package se.cambio.project.model;

import java.io.Serializable;

public class Department implements Serializable{
	
private static final long serialVersionUID = 1L;
	
	private long pk;
	private String id;
	private String name;
	private int hospital_id;
	private long active;
	private long latest;
	private String creator;
	private String created;
	
	public Department(){
		
	}
	
	public Department(long pk, String id, String name, int hospital_id, long active, long latest, String creator, String created){
		this.pk = pk;
		this.id = id;
		this.name = name;
		this.hospital_id = hospital_id;
		this.active = active;
		this.latest = latest;
		this.creator = creator;
		this.created = created;
	}
	
	public long getPk() {
		return pk;
	}
	public void setPk(long pk) {
		this.pk = pk;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public long getActive() {
		return active;
	}
	public void setActive(long active) {
		this.active = active;
	}
	public long getLatest() {
		return latest;
	}
	public void setLatest(long latest) {
		this.latest = latest;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public String getCreated() {
		return created;
	}
	public void setCreated(String created) {
		this.created = created;
	}
	
	public String toString(){
		return "Hospital [id=" + id + ", name=" + name + ", hospital=" + hospital_id + "]";
	}

	public int getHospital_id() {
		return hospital_id;
	}

	public void setHospital_id(int hospital_id) {
		this.hospital_id = hospital_id;
	}
	
}
